//
//  UIImage+Test.h
//  testImage
//
//  Created by lianglibao on 2018/7/4.
//  Copyright © 2018年 lianglibao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Test)
- (UIImage *)raz_scaleImageToFitScreenSize;
- (UIImage *)cutImageWithIndex:(int)index;
+ (void)saveCacheImage:(UIImage *)image cacheFilePath:(NSString *)cacheFilePath;
+ (NSData *)imageDataWithImage:(UIImage *)image;
- (UIImage *)scaledImageToSize:(CGSize)targetSize;
- (UIImage *)scaledImageToWidth:(CGFloat)width;
- (UIImage *)scaleImageToSize:(CGSize)size;
@end
